import { Injectable } from '@angular/core';
import {  Headers, Http, Response } from '@angular/http';
// import 'rxjs/Rx;'

@Injectable()

export class TopbarserveService {
  constructor(private http: Http) {}
  getServe() {
    return this.http.get('/assets/data/site.json');
    // .map(
    //   (response: Response) => {
    //     const data = response.json();
    //     return data;
    //   }
    //   )
  }


}
